package com.demo.server.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "地区表")
public class Region {
    @Schema(description = "地区编码")
    private String code;

    @Schema(description = "上级地区编码")
    private String pCode;

    @Schema(description = "地区名称")
    private String name;

    @Schema(description = "地区级别，01:省级,02:市级,03:县级,04:乡级")
    private String type;

    @Schema(description = "是否开放该地区, 0:未开放,1:开放")
    private String isOpen;
}